package com.roomio.service;

import java.util.List;

import com.roomio.domain.GroupTransaction;
import com.roomio.domain.Transaction;
import com.roomio.domain.UserTransaction;

public interface TransactionsService {
	
	public  Transaction saveGroupTransaction(GroupTransaction transaction);

	public  List<Transaction> findAllUserTransactions(String userName);
	
	public  List<Transaction> findAllGroupTransactions(Long groupId);

	public  void update(Transaction transaction);
	
	public void expireTransaction(Long id);
	
	public Transaction saveUserTransaction(UserTransaction transaction);
}
